﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace SanguoSharp.Server.Characters
{
    public sealed class 陆逊 : Character
    {
        private bool drawCard;

        public 陆逊(Player player)
            : base(player, CharacterType.陆逊)
        {
            drawCard = false;
        }

        public override void OnEmptyHand()
        {
            drawCard = true;
        }
        public override void OnPlayContinue()
        {
            if (drawCard && Player.Hand.Count == 0)
            {
                OnUsedAbility();
                Game.GameTable.PlayerDrawFromDeck(Player, 1);
                drawCard = false;
            }
        }
    }
}
